package com.yc.sole.erp.request;

import com.yc.sole.erp.enums.OrderState;
import com.yc.sole.erp.enums.PaymentState;
import com.yc.sole.erp.enums.PriorityType;
import com.yc.sole.erp.enums.ShipmentState;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页Request对象
 *
 * @author yizuomin
 * @date 2023-12-15
 **/
@Data
public class SaleOrderQueryReq implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 客户id
     */
    private Long customerId;
    /**
     * 订单状态
     */
    private OrderState orderState;
    /**
     * 付款状态
     */
    private PaymentState paymentState;
    /**
     * 优先级 0普通 1加急
     */
    private PriorityType priority;
    /**
     * 订单日期
     */
    private String orderDate;
    /**
     * 订单日期
     */
    private List<String> orderDateRange;
    /**
     * 产品id
     */
    private String productId;
    /**
     * 关键字
     */
    private String keyword;
    /**
     * 送货状态 0未送货 1部分送货 2已送货 3已签收
     */
    private ShipmentState shipmentState;
    /**
     * 付款状态集合
     */
    private List<PaymentState> paymentStateList;
    /**
     * 订单状态集合
     */
    private List<OrderState> orderStateList;
    /**
     * 送货状态
     */
    private List<ShipmentState> shipmentStateList;
}
